flie = open('C:\\Users\\Main\\Desktop\\PythonTest\\az.txt','r+',encoding='utf-8')
print(flie.read(5))
print(flie.tell())
flie.seek(14,0)
print(flie.tell())

#不推荐
# li = list(flie)
# for i in li:
#     print(i)

#推荐
for i in flie:
    print(i)

flie.write('爬')
flie.close()
